<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">appid</label>
            <div class="layui-input-block">
                <input type="text" name="appid" class="layui-input"  placeholder="请输入appid" value="{$row.appid|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">交易类型</label>
            <div class="layui-input-block">
                {foreach $notes['deal_type'] as $k=>$v}
                <input type="radio" name="deal_type" value="{$k}" title="{$v}" {in name="k" value="$row.deal_type"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">交易单号</label>
            <div class="layui-input-block">
                <input type="text" name="sys_number" class="layui-input"  placeholder="请输入交易单号" value="{$row.sys_number|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">交易金额，单位：分</label>
            <div class="layui-input-block">
                <input type="text" name="deal_money" class="layui-input"  placeholder="请输入交易金额，单位：分" value="{$row.deal_money|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">余额</label>
            <div class="layui-input-block">
                <input type="text" name="deal_balance" class="layui-input"  placeholder="请输入余额" value="{$row.deal_balance|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">交易类型说明</label>
            <div class="layui-input-block">
                <input type="text" name="deal_type_str" class="layui-input"  placeholder="请输入交易类型说明" value="{$row.deal_type_str|default=''}">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea"  placeholder="请输入备注">{$row.remark|raw|default=''}</textarea>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>
    </form>
</div>